package com.huanletao.tran;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserServiceDemo {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext2.xml");

        UserService bean = applicationContext.getBean(UserService.class);
        bean.transfer3();

    }
}
